package com.twu.biblioteca;

import java.util.List;

public class BookLister implements LibraryAction {

    private Library library;
    private IOManager ioManager;
    private String ACTION_NAME = "1 - List available books";

    public BookLister(Library library, IOManager ioManager){
        this.library = library;
        this.ioManager = ioManager;
    }

    @Override
    public void performAction() {

        library.listBooks();
    }

    @Override
    public String toString() {
        return ACTION_NAME;
    }
}
